package com.yunxin.admin.system.api.core.task.impl;

import com.yunxin.admin.system.api.core.task.TeamTaskService;
import com.yunxin.admin.system.api.system.task.entity.TeamTaskDetail;
import com.yunxin.admin.system.infra.persistence.mapper.TeamTaskDetailMapper;
import jakarta.annotation.Resource;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
public class TeamTaskServiceImpl implements TeamTaskService {

    @Resource
    private TeamTaskDetailMapper teamTaskDetailMapper;

    /**
     * 查询任务详情
     * @param taskId
     * @return
     */
    @Override
    public List<TeamTaskDetail> selectTaskDetail(Integer taskId) {
        return teamTaskDetailMapper.selectTaskDetail(taskId);
    }
}
